package top.hymsk.ecommerce.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 花于陌上开
 */
@Data
@Component
@ConfigurationProperties(prefix = "other.picture-path-url")  //prefix为前缀
public class BaseUrlConfig {
    private String baseUrl;
    private String basePath;
}


